<template>
  <div><h1>路由404</h1></div>
</template>

<script lang="ts" setup>
import { onBeforeMount, onMounted } from "vue";
onBeforeMount(() => {
  console.log("2.组件挂载页面之前执行----onBeforeMount");
});
onMounted(() => {
  console.log("3.-组件挂载到页面之后执行-------onMounted");
});
</script>
<style scoped lang="scss"></style>
